﻿using System; 
using System.Text;
using System.Collections.Generic; 
using System.Data;
namespace Sasc.PV.DAL
{
	[Serializable]
    public partial class PvZDPenTu : IPvFanGongableGongXuModel<ZhuDingGongXuTarget>
	{		
        
        #region Ctor
        public PvZDPenTu()
        {
            _id = (long)0;
            _ganguopinpai = "";
            _ganguoxinghao = "";
            _ganguobianhao = "";
            _danhuaguipinpai = "";
            _ganguopici = "";
            _danhuaguiamount = (decimal)0;
            _pentumaxtemp = (decimal)0;
            _pentumintemp = (decimal)0;
            _guirongjiaopinpai = "";
            _danhuaguipici = "";
            _guirongjiaoamount = (decimal)0;
            _wateramount = (decimal)0;
            _guirongjiaopici = "";
            _pentudatetime = DbContants.DefaultDateTime;
            _fuchauser = "";
            _jianchanote = "";
            _gongxurecid = (long)0;
            _lastupdatedby = "";
            _lastupdateddate = DbContants.DefaultDateTime;
            _createdby = "";
            _createddate = DbContants.DefaultDateTime;
            _fangongversion = (int)0;
       }
        #endregion

        #region CreateTarget
        public ZhuDingGongXuTarget CreateTarget()
        {
            return new ZhuDingGongXuTarget
            {
                GanGuoBianHao = GanGuoBianHao,
                GanGuoBianHaoType = GongXuTargetDataType.Required,
                XiaoDingBianHaoType = GongXuTargetDataType.None
            };
        }
        #endregion
    }
}